package dao;


import entity.Community;

import java.util.List;

public interface CommunityDao {

    boolean insert(Community community);
    boolean update(Community community);
    boolean delete(int id);
    boolean delete(Community community);
    List<Community> getAllcommunity(int page,int limit);
    int getCountByCommunity();
    boolean select(Community community);
    boolean deleteById(List list);
    boolean deleteByIds(List list);

    }

